package service.cfg;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * Created by asus on 2018/10/6.
 */
@Service
public class RedisCfg {

    @Value("#{config['login.day']}")
    private Long day;

    public Long getDay() {
        return day;
    }

    public void setDay(Long day) {
        this.day = day;
    }
}
